.\"	$OpenBSD: sw.4,v 1.11 2012/08/14 01:08:19 dlg Exp $
.\"
.\" Copyright (c) 1998 The OpenBSD Project
.\" All rights reserved.
.\"
.\"
.Dd $Mdocdate: August 14 2012 $
.Dt SW 4 sparc
.Os
.Sh NAME
.Nm sw
.Nd NCR 5380 "SCSI Weird" Sun 4/100 on-board SCSI controller
.Sh SYNOPSIS
.Cd "sw0     at obio0 addr 0xfa000000 level 3" Pq sun4/100
.Cd "#sw0     at obio0 addr 0xfa000000 level 3 flags 0x07" Pq sun4/100
.Sh DESCRIPTION
The
.Nm
is the Sun 4/100 on-board SCSI controller based on the NCR 5380 chip, found
only on Sun 4/100 workstations.
The
.Nm
driver is actually implemented as part of the
.Xr si 4
driver.
.Sh DEVICE FLAGS
.Bl -tag -width 12n -compact
.It 0x01
Use DMA (polled)
.It 0x02
Use DMA completion interrupts
.It 0x04
Allow disconnect/reconnect
.El
.Pp
The
.Nm
device flags may be OR'd together to enable any combination of
the features listed above.
If no flags are specified, the device will use polled DMA by default.
.Sh SEE ALSO
.Xr cd 4 ,
.Xr ch 4 ,
.Xr esp 4 ,
.Xr intro 4 ,
.Xr scsi 4 ,
.Xr sd 4 ,
.Xr si 4 ,
.Xr st 4 ,
.Xr uk 4
.Sh HISTORY
The
.Nm
driver first appeared in
.Nx .
.Sh BUGS
The
.Nm
driver only supports polled DMA at this time.
